package com.cuit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cuit.mapper.FluidPicMapper;
import com.cuit.pojo.FluidPic;
import com.cuit.service.FluidPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class FluidPicServiceImpl extends ServiceImpl<FluidPicMapper, FluidPic> implements FluidPicService {

    @Resource
    private FluidPicMapper fluidPicMapper;

    @Override
    public void resort() {
        fluidPicMapper.resort();
    }

    @Override
    public void updateByPid(Integer pid) {
        fluidPicMapper.updateByPid(pid);
    }
}
